#define  _CRT_SECURE_NO_WARNINGS  1
#include <stdio.h>
#include <string.h>
int main()
{
	char n;
	char a[80] = { 0 };
	scanf("%c ", &n);
	int i = 0;
	gets(a);
	int len = strlen(a);
	int k = 0;
	int judge = 0;
	for (i = 0; i < len; i++)
	{
		if (a[i] == n)
		{
			k = i;
			judge = 1;
		}
	}
	if (judge)
	{
		printf("index = %d", k);
	}
	else
	{
		printf("Not Found");
	}

	return 0;
}